.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #222222;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
}

.card__info {
  padding: 7px 6px 14px 10px;
}

.card__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  cursor: pointer;
}

.card__img {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16/9;
  background: #222222;
  border-radius: 6px 6px 0 0;
}

.card__title {
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  color: #FFFFFF;
  margin: 0;
}

.card__button-like {
  display: block;
  width: 30px;
  height: 30px;
  background-color: transparent;
  background-image: url(../../images/like_disabled.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  transition: opacity .3s linear;
  cursor: pointer;
}

.card__button-like_type_saved {
  background-image: url('../../images/like_active.svg');
}

.card__button-like_type_delete {
  background-image: none;
}

.card__button-like_type_delete {
  background-image: url('../../images/d4.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
}

.card__button-like:hover {
  opacity: 0.8;
}

.card__button_disabled {
  cursor: default;
}

.card__duration {
  margin: 0;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  color: #8B8B8B;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {
  .card {
    height: fit-content;
  }

  .card__info {
    padding: 6px 15px 14px 15px;
  }

  .card__container {
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 480px) {
  .card {
    height: fit-content;
  }

  .card__container {
    margin-bottom: 6px;
  }

  .card__info {
    padding: 11px 6px 14px 10px;
  }
}